@extends('layouts.admin.index')
@section('title', '用户列表')
@section('admin-css')
    .gradeX td{
        text-align: center;
    }
    .table-search{
        height: 30px;
        float: left;
    }
    .table-search input{
        margin-top: 6px;
        width: 150px;
        height: 15px;
        border-radius: 3px;
    }
@endsection
@section('current')
    <a href="{{ url('admin/userList') }}" class="current">用户列表</a>
@endsection
@section('content')
    <div class="widget-box">
        <div class="widget-title"><span class="icon"><i class="icon-th"></i></span>
            <h5>用户列表</h5>
            <lable class="table-search">
                <input type="text" placeholder=" 用户名称">&nbsp;
                <a href=""><i class="icon icon-search" title="搜索"></i></a>
            </lable>
        </div>
        <div class="widget-content nopadding">
            <table class="table table-bordered data-table">
                <thead>
                    <tr>
                        <th>用户ID</th>
                        <th>用户名称</th>
                        <th>用户角色</th>
                        <th>所属门店ID</th>
                        <th>登录状态</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                    <tr class="gradeX">
                        <td>1</td>
                        <td>admin</td>
                        <td>超级管理员</td>
                        <td>0</td>
                        <td>激活</td>
                        <td>
                            <a href="{{ url('admin/userEdit') }}">
                                <i class="icon icon-edit" title="修改"></i>
                            </a>&nbsp;&nbsp;
                            <a href=""><i class="icon icon-trash" title="删除"></i></a>
                        </td>
                    </tr>
                    <tr class="gradeX">
                        <td>2</td>
                        <td>user</td>
                        <td>门店管理员</td>
                        <td>1</td>
                        <td>激活</td>
                        <td class="center">
                            <a href="{{ url('admin/userEdit') }}">
                                <i class="icon icon-edit" title="修改"></i>
                            </a>&nbsp;&nbsp;
                            <a href=""><i class="icon icon-trash" title="删除"></i></a>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
@endsection